package HomeWork.Demo01;

public class AA {
    public static void main(String[] args) {
        StringBuilder sb=new StringBuilder("1");
        StringBuilder sb1=sb.append("2");
        StringBuilder sb2=sb1.append("3");
        sb2.append("4");
        sb1.append("4");
        System.out.println(sb);
        System.out.println(sb1);
        System.out.println(sb2);
    }
}
